From e3013a5cf52b5f918b823c935eed543743c4a9d8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 24 Nov 2010 14:26:04 +0100 Subject: [PATCH] docs: Replace mentions of drawable with window in migration guide No need to let gtk3-aware people learn about wonderous gtk2 terms when they are migrating old code. ;) --- docs/reference/gtk/migrating-2to3.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/gtk/migrating-2to3.xml b/docs/reference/gtk/migrating-2to3.xml index d150987e11..fc39ff1e24 100644 --- a/docs/reference/gtk/migrating-2to3.xml +++ b/docs/reference/gtk/migrating-2to3.xml @@ -134,7 +134,7 @@ them, are gone. This includes the gdk_draw family of functions like gdk_draw_rectangle() and gdk_draw_drawable(). As #GdkGC is roughly equivalent to #cairo_t and #GdkImage was used for - drawing images to GdkDrawables, which cairo supports automatically, + drawing images to GdkWindows, which cairo supports automatically, a transition is usually straightforward. @@ -143,7 +143,7 @@ was replaced. - Drawing a GdkPixbuf onto a GdkDrawable + Drawing a GdkPixbuf onto a GdkWindow Drawing a pixbuf onto a drawable used to be done like this: - Drawing a tiled GdkPixmap to a GdkDrawable + Drawing a tiled GdkPixmap to a GdkWindow Tiled pixmaps are often used for drawing backgrounds. Old code looked something like this: -- 2.30.2